import request from '@/utils/request'

// 修改个人基本资料
export const changeProfile = (data) => {
    return request({
        url: '/admin-api/system/user/profile/update',
        method: 'put',
        data
    })
}

// 修改个人密码
export const resetPassword = (data) => {
    return request({
        url: '/admin-api/system/user/profile/update-password',
        method: 'put',
        data
    })
}